/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DatabasePOJO;

/**
 *
 * @author Mr-Nguyen
 */
public class chitietsanpham {
   
    //<editor-fold defaultstate="collapsed" desc="1.Khai báo thuộc tính.">
    private String _Machitietsanpham;
    private String _chitiet;
    private String _loai;
    private String _MaSanpham;
    //</editor-fold>
    
    //<editor-fold defaultstate="collapsed" desc="2.Phương thức getter/setter.">
     public String getChitiet() {
        return _chitiet;
    }

    public void setChitiet(String _chitiet) {
        this._chitiet = _chitiet;
    }

    public String getLoai() {
        return _loai;
    }

    public void setLoai(String _loai) {
        this._loai = _loai;
    }

    public String getMaSanpham() {
        return _MaSanpham;
    }

    public void setMaSanpham(String _MaSanpham) {
        this._MaSanpham = _MaSanpham;
    }

    public String getMachitietsanpham() {
        return _Machitietsanpham;
    }

    public void setMachitietsanpham(String _Machitietsanpham) {
        this._Machitietsanpham = _Machitietsanpham;
    }
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="3.Phương thức khỏi tạo.">
    public chitietsanpham(String _Machitietsanpham, String _chitiet, String _loai, String _MaSanpham) {
        this._Machitietsanpham = _Machitietsanpham;
        this._chitiet = _chitiet;
        this._loai = _loai;
        this._MaSanpham = _MaSanpham;
    } 
    public chitietsanpham() {
        this._Machitietsanpham = "";
        this._chitiet = "";
        this._loai = "";
        this._MaSanpham = "";
    }
    public chitietsanpham(chitietsanpham ctsp)
    {
        this._Machitietsanpham = ctsp.getMachitietsanpham();
        this._chitiet = ctsp.getChitiet();
        this._loai = ctsp.getLoai();
        this._MaSanpham = ctsp.getMaSanpham();
    }
    //</editor-fold>

   

   
    
}
